package net.thxjj.adminServer.entity.aep;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection="th_login_log")//集合名
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class LoginData {
    private String deviceId;
    private long timestamp;
    private long tau_flag;
    private long tau;
    private String software_version;
    private String manufacturer_name;
    private String hardware_version;
    private long device_type;
    private long active_time_flag;
    private long active_time;
    private String IMSI;
    private String IMEI;


    @Override
    public String toString() {
        return "LoginData{" +
                "deviceId='" + deviceId + '\'' +
                ", timestamp=" + timestamp +
                ", tau_flag=" + tau_flag +
                ", tau=" + tau +
                ", software_version='" + software_version + '\'' +
                ", manufacturer_name='" + manufacturer_name + '\'' +
                ", hardware_version='" + hardware_version + '\'' +
                ", device_type=" + device_type +
                ", active_time_flag=" + active_time_flag +
                ", active_time=" + active_time +
                ", IMSI='" + IMSI + '\'' +
                ", IMEI='" + IMEI + '\'' +
                '}';
    }
}
